package com.cman777.springc.sample.bean.dto.response;

import com.cman777.springc.common.bean.response.BasePageResponse;
import com.cman777.springc.poi.annotation.ExlField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


/**
 * @author chenzhicong
 * @time 2020/3/18 4:29
 * @description
 */
@Getter
@Setter
@ApiModel
public class TestPageResponse extends BasePageResponse<TestPageResponse.UserVo> {
    @Getter
    @Setter
    @ApiModel
    public static class UserVo{
        @ExlField(title = "名称",sort = 1)
        @ApiModelProperty("名称")
        private String name;
        @ExlField(title = "邮箱",sort = 3)
        @ApiModelProperty("邮箱")
        private String email;
        @ExlField(title = "年龄",sort = 2)
        @ApiModelProperty("年龄")
        private Integer age;
    }
}
